package com.company.service.impl;

import org.springframework.stereotype.Service;

import com.base.common.service.CrudService;
import com.company.dao.CompanyInfoMapper;
import com.company.model.CompanyInfo;
import com.company.service.CompanyService;

@Service
public class CompanyServiceImpl extends
		CrudService<CompanyInfoMapper, CompanyInfo> implements CompanyService {
	public CompanyInfo findCompanyByModel(CompanyInfo companyInfo) {
		return this.get(companyInfo);
	}

	public CompanyInfo findCompanyById(String id) {
		return this.get(id);
	}
}
